// vite.config.ts
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/vite@5.4.10_@types+node@20.17.6_less@4.2.0_sass@1.80.6/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/@vitejs+plugin-vue@5.1.4_vite@5.4.10_@types+node@20.17.6_less@4.2.0_sass@1.80.6__vue@3.5.12_typescript@5.6.3_/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import vueJsx from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/@vitejs+plugin-vue-jsx@4.0.1_vite@5.4.10_@types+node@20.17.6_less@4.2.0_sass@1.80.6__vue@3.5.12_typescript@5.6.3_/node_modules/@vitejs/plugin-vue-jsx/dist/index.mjs";
import vueDevTools from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/vite-plugin-vue-devtools@7.6.2_@nuxt+kit@3.14.0_rollup@4.24.4__rollup@4.24.4_vite@5.4.10_@typ_chn45gd4xpbocivfmwx36lgaku/node_modules/vite-plugin-vue-devtools/dist/vite.mjs";
import Components from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/unplugin-vue-components@0.27.4_@babel+parser@7.26.2_@nuxt+kit@3.14.0_rollup@4.24.4__rollup@4._lmzo3fgur2logarlme54d4z334/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/unplugin-vue-components@0.27.4_@babel+parser@7.26.2_@nuxt+kit@3.14.0_rollup@4.24.4__rollup@4._lmzo3fgur2logarlme54d4z334/node_modules/unplugin-vue-components/dist/resolvers.js";
import AutoImport from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/unplugin-auto-import@0.18.3_@nuxt+kit@3.14.0_rollup@4.24.4__@vueuse+core@11.2.0_vue@3.5.12_ty_l4b32hwlkmm73efafdmtdbiqxu/node_modules/unplugin-auto-import/dist/vite.js";
import tailwindcss from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/tailwindcss@3.4.14/node_modules/tailwindcss/lib/index.js";
import autoprefixer from "file:///D:/Desktop/quick-admin/vue/node_modules/.pnpm/autoprefixer@10.4.20_postcss@8.4.48/node_modules/autoprefixer/lib/autoprefixer.js";
var __vite_injected_original_import_meta_url = "file:///D:/Desktop/quick-admin/vue/vite.config.ts";
var vite_config_default = defineConfig({
  css: {
    postcss: {
      plugins: [tailwindcss, autoprefixer]
    },
    preprocessorOptions: {
      scss: {
        api: "modern-compiler",
        additionalData: `@use "@/style/element.scss" as *;`
      }
    }
  },
  plugins: [
    vue(),
    vueJsx(),
    vueDevTools(),
    AutoImport({
      dts: "auto-imports.d.ts",
      imports: ["vue", "vue-router"],
      // eslint报错解决
      eslintrc: {
        enabled: true,
        filepath: "./.eslintrc-auto-import.json",
        globalsPropValue: true
      },
      resolvers: [ElementPlusResolver()]
    }),
    AutoImport({
      imports: ["vue", "vue-router"],
      dts: "src/auto-import.d.ts"
    }),
    Components({
      dirs: [
        "src/components",
        "src/icons",
        "src/views/**/components/*.{vue|tsx}"
      ],
      extensions: ["vue", "tsx", "svg"],
      // 配置文件生成位置
      dts: "components.d.ts",
      resolvers: [
        ElementPlusResolver({
          importStyle: "sass"
        })
      ]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/api": {
        target: "http://localhost:3000",
        secure: false,
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxEZXNrdG9wXFxcXHF1aWNrLWFkbWluXFxcXHZ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